package mymodel

import "github.com/gogf/gf/v2/os/gtime"

type ClusterKeyItem struct {
	Name string `json:"name"  description:"cluster-key"`
}

// ClusterServerResponse
type ClusterServerResponse struct {
	Id                int64       `json:"id"                orm:"id"                   description:""`
	Name              string      `json:"name"              orm:"name"                 description:"服务器名称"`
	ServerKey         string      `json:"serverKey"         orm:"server_key"           description:"服务器唯一标识"`
	Remark            string      `json:"remark"            orm:"remark"               description:"备注"`
	PublicIp          string      `json:"publicIp"          orm:"public_ip"            description:"公网ip"`
	InnerIp           string      `json:"innerIp"           orm:"inner_ip"             description:"内网ip"`
	CreatedAt         *gtime.Time `json:"createdAt"         orm:"created_at"           description:"创建时间"`
	UpdatedAt         *gtime.Time `json:"updatedAt"         orm:"updated_at"           description:"更新时间"`
	TotalDataDiskSize int64       `json:"totalDataDiskSize" orm:"total_data_disk_size" description:"数据盘总存储大小MB"`
	DataDiskSize      int64       `json:"dataDiskSize"      orm:"data_disk_size"       description:"数据盘已存储大小MB"`
	DataDiskPath      string      `json:"dataDiskPath"      orm:"data_disk_path"       description:"数据盘的路径"`
	WebPort           int         `json:"webPort"           orm:"web_port"             description:"web服务端口"`
}
